package com.zy.filter;

import lombok.extern.slf4j.Slf4j;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpFilter;
import java.io.IOException;

/**
 * @Author CarreyZhou
 * @Date: 2024/5/6 14:11
 */
@Slf4j
public class WebCustomerFilter2 extends HttpFilter {
    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        log.info("WebCustomerFilter2 doFilter request");
        chain.doFilter(request, response);
        log.info("WebCustomerFilter2 doFilter response");
    }
}
